class MapData {
  String gatt;
  String hp;
  String name;
  String yatt;

  MapData({this.gatt, this.hp, this.name, this.yatt});

  MapData.fromJson(Map<String, dynamic> json) {
    gatt = json['gatt'];
    hp = json['hp'];
    name = json['name'];
    yatt = json['yatt'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['gatt'] = this.gatt;
    data['hp'] = this.hp;
    data['name'] = this.name;
    data['yatt'] = this.yatt;
    return data;
  }
}
